package com.design.pattern.creational.singleton;

/**
 * description
 *
 * @author RenQiQiang 2019/02/19 14:32
 */
public enum  EnumInstance {
    INSTANCE;

    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumInstance getInstance(){
        return INSTANCE;
    }
}
